The PORTFOLIO optimization problem, including PORTFOLIO selection, typically aims to maximize return and minimize risk. In this paper, we discuss about increasing use of stochastic PORTFOLIOs in investments and aim to create optimal PORTFOLIOs. It follows the relative wealth process of these PORTFOLIOs, outperforms the market PORTFOLIO over sufficiently long time-horizons. In this regard, initially, a model of the market is presented by the stochastic PORTFOLIO theory (SPT) and features like Growth rate, Excess growth rate are mentioned. Then, functionally-generated PORTFOLIOs are defined by using diversity weighted PORTFOLIOs with parameters p ∈ (0, 1), p < 0 and combination of them. Finally, by obtaining the daily closing price of 10 stocks in Tehran Stock Exchange (TSE) ,the performance of diversity weighted PORTFOLIOs is investigated.